package com.xhg.mqtt.constant;

/**
 * 消息，异常，错误等信息
 * @version 1.0
 * @Description
 * @date 2017年05月24日
 * @updateby
 * @updatedate
 * @since 1.0
 */
public class MsgConstants {


    /**
     * --------------------------------------------------------------------------消息---------------------------------------------------------------------
     **/
    public final static String CONNECT_SUCCESS= "-----连接成功------{0}";

    public final static String CONNECT_ERROR = "连接失败";

    public final static String SEND_ERROR = "发送失败";

    public final static String BREAK_ERROR = "断开异常";

    public final static String RECONNETC_ERROR = "重连失败";

    public final static String RECONNETC_SUCCESS = "重连成功";

    public final static String SUB_ERROR = "订阅异常";

    public final static String SERZ_ERROR = "反序列化错误";

    public final static String NO_INSTACE_ERROR = "没有mqttclient实例";

    public final static String OFFLINE_EXCEPTION = "异常下线";

    public final static String CONNECTING_WARN = "正在重连...";

    public final static String CONNECTING_AUTH_ERROR = "重连授权失败";

    public final static String DEVICE_UP_ERROR = "上报设备信息失败";

    public final static String MQTTINFO_IS_NULL = "MqttConfigInfoDTO is null";

    public final static String CALLBACK_MESSAGE_EXCEPTION = "回调消息处理异常:";

    public final static String MQTT_BREAK_EXCEPTION = "mqtt连接断开，正在自动重连...";

    public final static String SAVE_FAIL_MESSAGE = "保存发送失败消息:";

    public final static String SAVE_FAIL_MESSAGE_EXCEPTION = "保存重发失败消息异常";

    public final static String ATTEMPT_MANY_ATTEMPT = "尝试N次重发乃未响应...";

    public final static String RESEND_MESSAGE_EXCEPTION = "重发消息异常:";

    public final static String CACHE_CLEAN = "缓存被清除";

    public final static String CONN_EXCEPTION = "连接异常";

    public final static String SYS_EXCEPTION = "系统异常";

    public final static String CLOSE_EXCEPTION = "关闭mqtt连接异常";

    public final static String MQTT_NOT_CONN = "没有连接到MQTT";

    public final static String MQTT_CALL_BACK = "消息回调处理异常";


}